﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC10Controller
    /// </summary>
    public class VYC10Controller
    {
        private static VYC10BO _vyc10Bo;
        public VYC10Controller()
        {
            _vyc10Bo = new VYC10BO();
        }

        public List<ModelVYC10> GetAllList()
        {
            return _vyc10Bo.GetAllList();
        }

        public int AddData(ModelVYC10 model)
        {
            return _vyc10Bo.AddData(model);
        }

        public int EditData(ModelVYC10 model)
        {
            return _vyc10Bo.EditData(model);
        }

        public int DeleteData(ModelVYC10 model)
        {
            return _vyc10Bo.DeleteData(model);
        }

        public List<ModelVYC10> GetById(int id)
        {
            return _vyc10Bo.GetById(id);
        }
    }
}